/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Home-pc
 * Date: 2023-08-22
 * Time: 15:40
 */
public class Test4 {
    public static void main(String[] args) {
        MyStack myStack1=new MyStack();
        myStack1.push(5);
        myStack1.push(3);
        myStack1.push(21);
        System.out.println(myStack1);

        System.out.println(myStack1.pop());
        System.out.println(myStack1.peek());


    }
}
